﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNotice.aspx.cs" Inherits="AddNotice" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    </head>
<body>
   <form id="form1" runat="server">
    <div>
       <table width="100%">
            <tr>
                <td colspan="5" align="center">
                    <asp:Label ID="titleLabel" runat="server" Text="新增通知" Font-Size="X-Large" 
                        ForeColor="Red"></asp:Label></td>
            </tr>
             
             <tr>
                <td style="width:10%"></td>
                <td style="width:80%" colspan="2">标题<asp:TextBox ID="titleTextBox" runat="server" 
                        Width="80%" MaxLength="255" style="margin-left: 10px" Font-Size="Large" 
                        Height="30px"></asp:TextBox>
                 </td>
                 <td style="width:10%"></td>
            </tr>
             <tr>
                <td style="width:10%"></td>
                  <td style="width:80%" height="10px" colspan="2"></td>
                 <td style="width:10%"></td>
            </tr>
            <tr>
            <td></td>
            <td colspan="2" valign="top">
                <asp:TextBox ID="contentTextBox" runat="server" 
                        Width="100%"  Height="500px" 
                    TextMode="MultiLine" MaxLength="2000" Font-Size="Large"></asp:TextBox>
            </td>
            <td></td>
           
            </tr>
              <tr>
                <td style="width:10%"></td>
                  <td style="width:80%" height="30px" colspan="2"></td>
                 <td style="width:10%"></td>
            </tr>
             <tr>
                <td></td>
                <td  colspan="2" align ="center"><asp:Button ID="submitButton" runat="server" 
                        Text="提交" Width="100px" 
                         style="height: 26px" onclick="submitButton_Click" />
                    <asp:Button ID="resetButton" runat="server" Text="清空" style="margin-left: 30px" 
                        Width="100px" onclick="resetButton_Click"/>
                <td></td>
            </tr>

            <tr>
                <td></td>
                <td colspan="2">
                    <asp:Label ID="errorLabel" runat="server" ForeColor="Red"></asp:Label></td>
                <td></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
